package com.niu.shop.service.admin.goods.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.niu.core.common.domain.PageResult;
import com.niu.core.common.domain.PageParam;
import com.niu.shop.entity.goods.ShopGoodsSku;
import com.niu.shop.entity.goods.ShopGoodsSpec;
import com.niu.shop.mapper.goods.ShopGoodsSkuMapper;
import com.niu.shop.mapper.goods.ShopGoodsSpecMapper;
import com.niu.shop.service.admin.goods.param.ShopGoodsSkuParam;
import com.niu.shop.service.admin.goods.param.ShopGoodsSkuSearchParam;
import com.niu.shop.service.admin.goods.IShopGoodsSkuService;
import com.niu.shop.service.admin.goods.vo.ShopGoodsSkuInfoVo;
import com.niu.shop.service.admin.goods.vo.ShopGoodsSkuListVo;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;
import javax.annotation.Resource;
import java.util.LinkedList;
import java.util.List;


/**
 * 商品规格实现
 */
@Service
public class ShopGoodsSkuServiceImpl extends ServiceImpl<ShopGoodsSkuMapper, ShopGoodsSku>  implements IShopGoodsSkuService {
        
    @Resource
    ShopGoodsSkuMapper shopGoodsSkuMapper;

    @Override
    public void insertAll(List<ShopGoodsSku> list) {
        super.saveOrUpdateBatch(list);
    }

}
